/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-15 14:34:32
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-16 16:14:50
 */
import { CHANNELS } from '@/store/actionTypes'

export default function channels(state = [], action) {
  switch (action.type) {
    case CHANNELS:
      return action.payload
    default:
      return state
  }
}
